#!/usr/bin/python3
# coding=utf-8

import _thread
import os
import time


def fun1(threadName, delay):
    os.system('python voice.py')


def fun2(threadName, delay):
    os.system('python voice2.py')


def fun3(threadName, delay):
    os.system('python voice3.py')


try:
    _thread.start_new_thread(fun1, ("Thread-1", 2,))
    _thread.start_new_thread(fun2, ("Thread-2", 4,))
    _thread.start_new_thread(fun3, ("Thread-2", 4,))
except:
    print("Error: 无法启动线程")

while 1:
    pass
